package com.msh.platform.elm.vo;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import com.msh.platform.elm.common.constants.Constants;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class SellerInfoRqVO {
    @ApiModelProperty(value="手机号")
    @NotBlank(message = "手机号不能为空")
    @Pattern(regexp = Constants.PHONE_PATTERN, message = "手机号格式不正确")
    private String phone;
    @ApiModelProperty(value="登录密码")
    @NotBlank(message = "登录密码不能为空")
    private String passwd;
    @ApiModelProperty(value="短信验证码")
    @NotBlank(message = "短信验证码不能为空")
    private String smsCode;
    @ApiModelProperty(value="商会名称")
    @NotBlank(message = "商会名称不能为空")
    private String name;
    @ApiModelProperty(value="商会简介")
    @NotBlank(message = "商会简介不能为空")
    private String detail;
    @ApiModelProperty(value="地区编码")
    @NotNull(message = "地区编码不能为空")
    private Integer areaCode;
    @ApiModelProperty(value="商会会员人数")
    @NotNull(message = "商会会员人数不能为空")
    private Integer memberCnt;
    @ApiModelProperty(value="管理员")
    @NotBlank(message = "管理员不能为空")
    private String contactName;
    @ApiModelProperty(value="联系邮箱")
    private String contactEmail;
    @ApiModelProperty(value="参数签名")
    @NotBlank(message = "参数签名不能为空")
    private String sign; 

}
